import React from 'react';
import classnames from 'classnames';
import './style.less';

const Icon = props => {
    return (
        <i
            className={classnames(
                'iconfont',
                `icon-${props.type}`,
                props.className
            )}
        />
    );
};

export default Icon;
